# coding:utf-8
require 'securerandom'

FactoryGirl.define do
  factory :terminal_version do
    name { 'terminal_ymtv_' + SecureRandom.hex(8) }
    version { Array.new(3){ SecureRandom.random_number(100) }.join('.') }
    release { SecureRandom.random_number(2) == 1 }
  end
end
